
21 changed files with 365 additions and 26 deletions
@ -0,0 +1,38 @@ |
|||
package com.yxt.anrui.as.api.asbusrepairbillaitemspec; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/4/17 14:56 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "维修工单-固定附加项目", description = "维修工单-固定附加项目") |
|||
@TableName("as_busrepair_bill_aitemspec") |
|||
public class AsBusrepairBillAitemspec extends BaseEntity { |
|||
@ApiModelProperty("工单sid") |
|||
private String billSid; |
|||
@ApiModelProperty("附加项目sid") |
|||
private String attachItemSid; |
|||
@ApiModelProperty("项目名称") |
|||
private String attachItem; |
|||
@ApiModelProperty("项目费用") |
|||
private BigDecimal price; |
|||
@ApiModelProperty("开票价") |
|||
private BigDecimal taxPrice; |
|||
@ApiModelProperty("业务类型Key") |
|||
private String billBusTypeKey; |
|||
@ApiModelProperty("业务类型Value") |
|||
private String billBusTypeValue; |
|||
@ApiModelProperty("成本价") |
|||
private BigDecimal cost; |
|||
@ApiModelProperty("成本合计(成本价*数量)") |
|||
private BigDecimal costTotal; |
|||
} |
@ -0,0 +1,51 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.biz.asbusrepairbillaitemspec; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.yxt.anrui.as.api.asbusrepairbillaitem.AsBusrepairBillAitem; |
|||
import com.yxt.anrui.as.api.asbusrepairbillaitemspec.AsBusrepairBillAitemspec; |
|||
import org.apache.ibatis.annotations.Delete; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface AsBusrepairBillAitemspecMapper extends BaseMapper<AsBusrepairBillAitemspec> { |
|||
|
|||
@Select("select * from as_busrepair_bill_aitemspec where billSid = #{billSid}") |
|||
List<AsBusrepairBillAitemspec> fetchByBillSid(@Param("billSid") String billSid); |
|||
|
|||
@Delete("delete from as_busrepair_bill_aitemspec where billSid = #{sid}") |
|||
void delByBillSid(String billSid); |
|||
} |
@ -0,0 +1,6 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.as.biz.asbusrepairbillaitem.AsBusrepairBillAitemMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
</mapper> |
@ -0,0 +1,45 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.biz.asbusrepairbillaitemspec; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "维修工单-保险信息") |
|||
@RestController |
|||
@RequestMapping("v1/AsBusrepairBillAitem") |
|||
public class AsBusrepairBillAitemspecRest { |
|||
|
|||
|
|||
} |
@ -0,0 +1,51 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.biz.asbusrepairbillaitemspec; |
|||
|
|||
import com.yxt.anrui.as.api.asbusrepairbillaitem.AsBusrepairBillAitem; |
|||
import com.yxt.anrui.as.api.asbusrepairbillaitemspec.AsBusrepairBillAitemspec; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class AsBusrepairBillAitemspecService extends MybatisBaseService<AsBusrepairBillAitemspecMapper, AsBusrepairBillAitemspec> { |
|||
|
|||
public List<AsBusrepairBillAitemspec> fetchByBillSid(String billSid) { |
|||
return baseMapper.fetchByBillSid(billSid); |
|||
} |
|||
|
|||
public void delByBillSid(String billSid) { |
|||
baseMapper.delByBillSid(billSid); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.yxt.wms.feign.base.basegoodspu; |
|||
|
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author wangpengfei |
|||
* @date 2024/2/26 13:36 |
|||
*/ |
|||
@Data |
|||
public class BaseGoodsSpu extends BaseEntity { |
|||
private String goodsCode;//商品代码
|
|||
private String barCode;//条形码
|
|||
private String goodsName;//商品名称
|
|||
private String subTitle;//副标题
|
|||
private String goodsPY;//拼音缩写
|
|||
private String goodsShortName;//商品简称
|
|||
private String goodsTypeSid;//商品分类sid
|
|||
private String brandSid;//品牌sid
|
|||
private String manufacturerSid;//厂家sid
|
|||
private String manufacturerName;//厂家名称
|
|||
private String goodsUnitSid;//商品单位sid
|
|||
private String goodsUnitName;//商品单位名称
|
|||
private String taxRate;//税率
|
|||
private Integer shelfLife;//保质期天
|
|||
private String nationalStandardCode;//国标码
|
|||
private String sortNo;//排序
|
|||
private String externalCode;//外部编码
|
|||
private String factoryCode;//厂家货号
|
|||
private String isListed;//是否上架
|
|||
private String useOrgSid;//使用组织sid
|
|||
private String createOrgSid;//创建组织sid
|
|||
} |
Loading…
Reference in new issue